package com.my.common;


/**
 * 常量数据字典
 */
public abstract class DictKeys {

	/**
	 * 开发模式
	 */
	public static final String conf_devMode = "conf.devMode";
	
	/**controller所需扫描的包*/
	public static final String config_controller_scan_package = "config.controller.scan.package";
	
	/**model所需扫描的包*/
	public static final String config_model_scan_package = "config.model.scan.package";
	
		
	/**
	 * 数据库配置
	 */
	public static final String db_configs = "db.configs";
	
	public static final String db_type = "db.type";
	public static final String db_jdbcUrl = "db.jdbcUrl";
	public static final String db_user = "db.user";
	public static final String db_password = "db.password";
	public static final String db_driverClass = "db.driverClass";

	public static final String db_initialSize = "db.initialSize";
	public static final String db_minIdle = "db.minIdle";
	public static final String db_maxActive = "db.maxActive";
	
	public static final String db_config_main = "main"; // 主数据源名称
	
	public static final String db_config_default_pk = "id"; // 表主键默认为id
	
	
	/**
	 * redis配置
	 * */	
	
	public static final String redis_configs = "redis.configs";	
	
	public static final String redis_ip = "redis.ip";	
	public static final String redis_port = "redis.port";
	public static final String redis_password = "redis.password";
	
}
